<html>
<?php $this->start('content2');
?>
<h2><center>Future Direct Messages</center></h2>
<table>
<tr>
	<th>Direct message text</th>
	<th>Status</th>
	<th>    </th>
</tr>
	<?php foreach($futureDms as $futureDm):?>
	<tr>
		<td><?php echo $futureDm['FutureDm']['messageText']; ?></td>
		<td><?php 
		if($futureDm['FutureDm']['approved']==1){
			echo 'Approved';
		}
		else echo 'Not Approved yet';
		?></td>
	</tr>
	<?php endforeach; ?>

</table>
<?php $this->end();?>
</html>